#include <stdio.h>

/*
 * 
 */

int main()
{
	int a;

	for (a = 0; a < 10; a++)
		printf("The for loop.\n");

	return 0;
}

#if 0

/*
 * intel
 */
0000000000001149 <main>:
    1149:	f3 0f 1e fa          	endbr64 
    114d:	55                   	push   %rbp
    114e:	48 89 e5             	mov    %rsp,%rbp
    1151:	48 83 ec 10          	sub    $0x10,%rsp
    1155:	c7 45 fc 00 00 00 00 	movl   $0x0,-0x4(%rbp)	// (rbp-0x4)=0x0

    115c:	eb 10                	jmp    116e <main+0x25>
    115e:	48 8d 3d 9f 0e 00 00 	lea    0xe9f(%rip),%rdi        # 2004 <_IO_stdin_used+0x4>
    1165:	e8 e6 fe ff ff       	callq  1050 <puts@plt>	// puts()
    116a:	83 45 fc 01          	addl   $0x1,-0x4(%rbp)	// (rbp-0x4)+=0x1
    116e:	83 7d fc 09          	cmpl   $0x9,-0x4(%rbp)	// (rbp-0x4)-0x9
    1172:	7e ea                	jle    115e <main+0x15>	// 小于等于(有符号<=)

    1174:	b8 00 00 00 00       	mov    $0x0,%eax
    1179:	c9                   	leaveq 
    117a:	c3                   	retq   
    117b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

/*
 * arm
 */
000000000040055c <main>:
  40055c:	a9be7bfd 	stp	x29, x30, [sp, #-32]!
  400560:	910003fd 	mov	x29, sp
  400564:	b9001fbf 	str	wzr, [x29, #28]		// [x29+28]=0

  400568:	14000007 	b	400584 <main+0x28>
  40056c:	90000000 	adrp	x0, 400000 <_init-0x3e8>
  400570:	91194000 	add	x0, x0, #0x650
  400574:	97ffffb7 	bl	400450 <puts@plt>	// puts()
  400578:	b9401fa0 	ldr	w0, [x29, #28]	// w0=[x29+28]
  40057c:	11000400 	add	w0, w0, #0x1	// w0=w0+0x1
  400580:	b9001fa0 	str	w0, [x29, #28]	// [x29+28]=w0
  400584:	b9401fa0 	ldr	w0, [x29, #28]	// w0=[x29+28]
  400588:	7100241f 	cmp	w0, #0x9	// w0-0x9
  40058c:	54ffff0d 	b.le	40056c <main+0x10>

  400590:	52800000 	mov	w0, #0x0                   	// #0
  400594:	a8c27bfd 	ldp	x29, x30, [sp], #32
  400598:	d65f03c0 	ret
  40059c:	00000000 	.inst	0x00000000 ; undefined

#endif
